<div ng-controller="z-generatingWageData-c" z-loading is-loading="viewModel.isLoading">
    <div viewstack class="carousel slide" data-ride="carousel">
        <div class="carousel-inner" role="listbox">
            <div class="item active">
                <div class="row">
                    <div class="col-lg-12 heading">
                        <ul id="crumb" class="breadcrumb">
                            <li>
                                <i class="im-home"></i>
                                <a href="index.html">首页</a>
                            </li>
                            <li ng-repeat="menu in viewModel.menuList">
                                <i class="{{menu.icons}}" ng-if="$index+1!=viewModel.menuList.length"></i>
                                <i class="en-arrow-right7" ng-if="$index+1==viewModel.menuList.length"></i>
                                {{menu.label}}
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="outlet">
                    <div class="panel-body">
                        <form class="form-horizontal group-border hover-stripped" role="form" name="form">
                            <div class="row">
                                <div class="col-xs-12 col-sm-10 col-md-11 form-box">
                                    <div class="col-sm-6 col-md-4 col-lg-3 form-item">
                                        <div class="col-sm-5 col-md-5 form-title">开始日期：</div>
                                        <div class="col-sm-7 col-md-7 form-input">
                                            <div class="input-group" ng-class="{ 'has-error' : form.reportStratDate.$invalid && !form.reportStratDate.$pristine }">
                                                <input name="startDate"
                                                       ng-model="viewModel.startDate"
                                                       class="form-control datetime-picker"
                                                       type="text"
                                                       autofocus="autofocus"
                                                       maxLength="10"
                                                       ng-click="viewModel.startDateOpen($event)"
                                                       z-datepicker-popup="{{viewModel.format}}"
                                                       is-open="viewModel.startDateOpened"
                                                       datepicker-options="viewModel.dateOptions"
                                                       close-text="Close"
                                                       readonly
                                                       tabIndex="8"><!--required-->
                                                <span class="input-group-addon cursorPointer" ng-click="viewModel.startDateOpen($event)"><i class="fa-calendar"></i></span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 col-md-4 col-lg-3 form-item">
                                        <div class="col-sm-5 col-md-5 form-title">结束日期：</div>
                                        <div class="col-sm-7 col-md-7 form-input">
                                            <div class="input-group" ng-class="{ 'has-error' : form.reportEndDate.$invalid && !form.reportEndDate.$pristine }">
                                                <input name="endDate"
                                                       ng-model="viewModel.endDate"
                                                       class="form-control datetime-picker"
                                                       type="text"
                                                       autofocus="autofocus"
                                                       maxLength="10"
                                                       ng-click="viewModel.endDateOpen($event)"
                                                       z-datepicker-popup="{{viewModel.format}}"
                                                       is-open="viewModel.endDateOpened"
                                                       datepicker-options="viewModel.dateOptions"
                                                       close-text="Close"
                                                       readonly
                                                       tabIndex="9"><!--required-->
                                                <span class="input-group-addon cursorPointer" ng-click="viewModel.endDateOpen($event)"><i class="fa-calendar"></i></span>
                                             </div>
                                         </div>
                                    </div>
                                    <div class="col-sm-6 col-md-4 col-lg-1 form-item">
                                        <div class="col-xs-12 col-sm-2 col-md-1">
											<button type="button" class="btn btn-success" ng-click="viewModel.saveAttendanceReport()"  tabIndex="10">生成</button>
										</div>
                                    </div>                                 
		                        </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
